package com.gxf.drugmg.repository;

import com.gxf.drugmg.entity.DrugRecognition;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface DrugRecognitionRepository extends JpaRepository<DrugRecognition, Long> {
    List<DrugRecognition> findByOrderByRecognizedAtDesc();
}